/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package econutri.persistencia.entidades;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import lomtools.persistence.Bean;

/**
 *
 * @author Leonardo Oliveira Moreira
 */
@Entity
@Table(name="recordatorio")
public class Recordatorio extends Bean {

    @Id
    @Column(name = "pacientecodigo", nullable=false)
    private Long pacienteCodigo;
    @Id
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date data;

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public Long getPacienteCodigo() {
        return pacienteCodigo;
    }

    public void setPacienteCodigo(Long pacienteCodigo) {
        this.pacienteCodigo = pacienteCodigo;
    }
   
}
